Upstream tarball 10120
[amule.git] / MSVC Solution / libs / libGeoIP / GeoIP.cmd
blobf187f35d3412589e1f33d3fe499d129b144279cb
1 @echo off
2 if exist geoip.h goto h_exist
3 echo creating GeoIP.h
4 echo #undef ENABLE_IP2COUNTRY > GeoIP.h
5 echo typedef void GeoIP; >> GeoIP.h
6 :h_exist
7 if exist geoip.c goto c_exist
8 echo creating GeoIP.c
9 echo // Dummy > GeoIP.c
10 :c_exist
11 if exist geoip_x.c goto finish
12 echo creating GeoIP_X.c
13 echo #include "GeoIP.c" > GeoIP_X.c
14 :finish